package cn.zust.itcost.service.impl;

import cn.zust.itcost.entity.dto.responseDto;
import cn.zust.itcost.service.HandleKnowledgeMap;
import lombok.extern.slf4j.Slf4j;

import org.junit.Test;
import org.springframework.stereotype.Service;

import java.util.Arrays;

@Slf4j
@Service
public class HandleKnowledgeMapServiceImpl implements HandleKnowledgeMap {
    cn.zust.itcost.entity.dto.responseDto responseDto=new responseDto();

    @Override
    public String extractNamesFromApi() {


        String[] node={
                "前端工程师",
                "工作5年以上"
        };

              String[] relationship = {
                      "薪资情况",
                      "招聘要求"
              };

              // 创建一个二维数组来存储这两个数组
              String[][] combinedArrays = new String[2][];
              // 将arrayA和arrayB放入二维数组
              combinedArrays[0] = node;
                combinedArrays[1] = relationship;

                // 输出合并后的二维数组内容
               for (int i = 0; i < combinedArrays.length; i++) {
                       System.out.println(Arrays.toString(combinedArrays[i]));
                    }


        return null;
    }

    @Test
    public void testExtractNamesFromApi() {
       extractNamesFromApi();

    }

}
